/* 打包时间：2025-11-29 21:10:27 */
(function(){
  try{
    var bridge = null;
    try{ bridge = runtime && runtime.accessibilityBridge; }catch(e){}
    if(!bridge){
      try{
        var m = runtime.getClass().getDeclaredMethod("getAccessibilityBridge");
        m.setAccessible(true);
        bridge = m.invoke(runtime);
      }catch(e){}
    }
    if(!bridge){ return; }
    try{
      var WF = Packages.com.stardust.autojs.core.accessibility.AccessibilityBridge$WindowFilter;
      bridge.setWindowFilter(new JavaAdapter(WF,{ filter:function(info){ return true; } }));
    }catch(e){}
  }catch(e){}
})();
module['exports'] = function (_0x365860) {
    var _0x3ae98b = {};
    function _0x2d4bce(_0x97f991) {
        if (_0x3ae98b[_0x97f991])
            return _0x3ae98b[_0x97f991]['exports'];
        var _0x5cd543 = _0x3ae98b[_0x97f991] = {
            'i': _0x97f991,
            'l': ![],
            'exports': {}
        };
        return _0x365860[_0x97f991]['call'](_0x5cd543['exports'], _0x5cd543, _0x5cd543['exports'], _0x2d4bce), _0x5cd543['l'] = !![], _0x5cd543['exports'];
    }
    return _0x2d4bce['m'] = _0x365860, _0x2d4bce['c'] = _0x3ae98b, _0x2d4bce['d'] = function (_0x20df24, _0x410680, _0x51262b) {
        !_0x2d4bce['o'](_0x20df24, _0x410680) && Object['defineProperty'](_0x20df24, _0x410680, {
            'enumerable': !![],
            'get': _0x51262b
        });
    }, _0x2d4bce['r'] = function (_0x42cfcb) {
        typeof Symbol !== 'undefined' && Symbol['toStringTag'] && Object['defineProperty'](_0x42cfcb, Symbol['toStringTag'], { 'value': 'Module' }), Object['defineProperty'](_0x42cfcb, '__esModule', { 'value': !![] });
    }, _0x2d4bce['t'] = function (_0x754204, _0x2441b4) {
        if (_0x2441b4 & 0x1)
            _0x754204 = _0x2d4bce(_0x754204);
        if (_0x2441b4 & 0x8)
            return _0x754204;
        if (_0x2441b4 & 0x4 && typeof _0x754204 === 'object' && _0x754204 && _0x754204['__esModule'])
            return _0x754204;
        var _0x53c054 = Object['create'](null);
        _0x2d4bce['r'](_0x53c054), Object['defineProperty'](_0x53c054, 'default', {
            'enumerable': !![],
            'value': _0x754204
        });
        if (_0x2441b4 & 0x2 && typeof _0x754204 != 'string') {
            for (var _0x6d0e29 in _0x754204)
                _0x2d4bce['d'](_0x53c054, _0x6d0e29, function (_0x410dac) {
                    return _0x754204[_0x410dac];
                }['bind'](null, _0x6d0e29));
        }
        return _0x53c054;
    }, _0x2d4bce['n'] = function (_0x23e258) {
        var _0x569724 = _0x23e258 && _0x23e258['__esModule'] ? function _0x42cb82() {
            return _0x23e258['default'];
        } : function _0x846825() {
            return _0x23e258;
        };
        return _0x2d4bce['d'](_0x569724, 'a', _0x569724), _0x569724;
    }, _0x2d4bce['o'] = function (_0x3d0f25, _0x4b3e1b) {
        return Object['prototype']['hasOwnProperty']['call'](_0x3d0f25, _0x4b3e1b);
    }, _0x2d4bce['p'] = '', _0x2d4bce(_0x2d4bce['s'] = 0x1b);
}({
    0x0: function (_0x209f13, _0x251fbc) {
        _0x209f13['exports'] = require('./lib.js');
    },
    0xa: function (_0x304cb6, _0x300136) {
        _0x304cb6['exports'] = require('./content.js');
    },
    0x1b: function (_0x5a0e06, _0x5e4617, _0x179627) {
        var _0x22c31c = {};
        _0x5a0e06['exports'] = _0x22c31c;
        var {randomWait: _0x38b6d0} = _0x179627(0x0), _0xfb50b4 = _0x179627(0x8), _0x5b32c3 = _0x179627(0xa);
        _0x22c31c['send_list'] = function (_0x12c212) {
            let {
                allNum: _0x5efc8c,
                minTime: _0x316776,
                maxTime: _0x22dff4,
                filePath: _0x3db53c,
                verifyLang: _0x543d91,
                yinliuLang: _0x10d8ec,
                biaoqingbaoLang: _0x332f57
            } = _0x12c212;
            toastLog('开始发送短信');
            let _0x4e89fd = 'GBK', _0x5a6091 = this['readContactsFile'](_0x3db53c, _0x4e89fd, _0x5efc8c);
            if (!_0x5a6091['length']) {
                toastLog('文件:' + _0x3db53c + '\x0a没有发现号码数据!');
                return;
            }
            let _0x12f6d7 = !![], _0x51a9a3 = [], _0x33d134 = [];
            for (let _0x17405f = 0x0; _0x17405f < _0x5a6091['length']; _0x17405f++) {
                let _0x152ca6 = _0x5a6091[_0x17405f]['number'], _0x5edf75 = _0x5a6091[_0x17405f]['name'], _0xe497c3 = _0x5b32c3['createRandomContent'](_0x5edf75, _0x543d91, _0x332f57, _0x10d8ec);
                _0x12f6d7 = _0x22c31c['send'](_0x152ca6, _0xe497c3), _0x38b6d0(_0x316776, _0x22dff4), !_0x12f6d7 ? _0x33d134['push'](_0x152ca6) : _0x51a9a3['push'](_0x152ca6);
            }
            console['log']('[message|L65]', '已发送号码分别为:', _0x51a9a3);
            _0x33d134['length'] && console['log']('[message|L67]', '发送号码分别为:', _0x33d134);
            let _0x55ea1d = _0x3db53c['split']('/');
            _0x55ea1d[_0x55ea1d['length'] - 0x1] = _0x55ea1d[_0x55ea1d['length'] - 0x1]['replace']('.csv', '-已短信.csv');
            let _0x5c5a05 = _0x55ea1d['join']('/');
            try {
                this['addContactsRecords'](_0x5c5a05, _0x4e89fd, _0x5a6091);
            } catch (_0x2c666f) {
                console['log']('[message|L79]', 'MESSAGE.send_list', _0x2c666f);
            }
            toastLog('发送短信,共：' + _0x51a9a3['length'] + '个,失败:' + _0x33d134['length'] + '个');
        };
        const _0x14c70d = (function () {
            let _0x59b2e9;
            return function () {
                if (!_0x59b2e9) {
                    const _0x36b742 = [
                        textStartsWith('发送'),
                        descStartsWith('发送'),
                        textStartsWith('确定'),
                        descStartsWith('确定'),
                        textContains('发送'),
                        descContains('发送'),
                        boundsInside(parseInt(device['width'] / 0x3 * 0x2), device['height'] / 0x3 * 0x2, device['width'], device['height'])['clickable'](!![])
                    ];
                    let _0x8f167a;
                    for (let _0x4f4cc9 = 0x0; _0x4f4cc9 < _0x36b742['length']; _0x4f4cc9++) {
                        _0x8f167a = _0x36b742[_0x4f4cc9];
                        if (_0x8f167a['findOne'](0x12c)) {
                            console['info']('[message|L111|CgetSendBtnQuery]', '找到发送按钮方式为第：', _0x4f4cc9, '种'), _0x59b2e9 = _0x8f167a;
                            break;
                        }
                    }
                }
                return _0x59b2e9;
            };
        }());
        _0x22c31c['send'] = function (_0x47c9ce, _0x5c8555) {
            let _0x22724b = ![];
            app['startActivity']({
                'action': 'SENDTO',
                'data': 'smsto:' + _0x47c9ce,
                'extras': { 'sms_body': _0x5c8555 }
            });
            let _0x245cdb = 0x3, _0x216e97;
            while (_0x245cdb) {
                _0x38b6d0(0x578, 0x640), _0x245cdb -= 0x1, _0x216e97 = _0x14c70d()['findOne'](0x12c);
                if (_0x216e97)
                    break;
            }
            if (!_0x216e97)
                return console['error']('[message|L152]', '无法找到\x22发送\x22按钮'), _0x22724b;
            else {
            }
            return _0x22724b = _0xfb50b4['superclick'](_0x216e97), _0x38b6d0(0x384, 0x44c), _0x22724b;
        }, _0x22c31c['addContactsRecords'] = function (_0x8b20ba, _0x4e8934, _0x22d52f) {
            (!files['exists'](_0x8b20ba) || !files['isFile'](_0x8b20ba)) && files['create'](_0x8b20ba);
            let _0x33f2f7 = 'a', _0x14d6bf = open(_0x8b20ba, _0x33f2f7, _0x4e8934), _0x445663 = _0x22d52f['map'](function (_0x17ad1c) {
                    return [
                        _0x17ad1c['number'],
                        _0x17ad1c['city'],
                        _0x17ad1c['name']
                    ]['join'](',');
                });
            _0x14d6bf['writelines'](_0x445663), _0x14d6bf['close']();
        }, _0x22c31c['readContactsFile'] = function (_0xefadd7, _0x58a736, _0x20024a) {
            _0x58a736 = _0x58a736 == null ? _0x58a736 : 'GBK', _0x20024a = _0x20024a == null ? 0xa : parseInt(_0x20024a, 0xa);
            let _0x2331a3 = [];
            if (!files['exists'](_0xefadd7) || !files['isFile'](_0xefadd7))
                return console['error']('[message|L197]', '当前文件:' + _0xefadd7 + '不存在~'), _0x2331a3;
            let _0x42d915 = open(_0xefadd7, 'r', _0x58a736), _0x569615 = 0x3;
            while (_0x20024a !== 0x0) {
                let _0x4cd555 = _0x42d915['readline']();
                _0x20024a--;
                if (!_0x4cd555) {
                    _0x569615--;
                    if (_0x569615 > 0x0)
                        continue;
                    else {
                        console['warn']('[message|L211]', '请当前文件可能已读取完毕,或数据格式出错~');
                        break;
                    }
                } else
                    _0x569615 = 0x3;
                let _0x56da9c = _0x4cd555['split'](',');
                switch (_0x56da9c['length']) {
                case 0x3:
                    _0x2331a3['push']({
                        'name': _0x56da9c[0x2],
                        'number': _0x56da9c[0x0],
                        'city': _0x56da9c[0x1]
                    });
                    break;
                case 0x2:
                    _0x2331a3['push']({
                        'name': _0x56da9c[0x1],
                        'number': _0x56da9c[0x0],
                        'city': '未知'
                    });
                    break;
                case 0x1:
                    _0x2331a3['push']({
                        'name': _0x56da9c[0x0],
                        'number': _0x56da9c[0x0],
                        'city': '未知'
                    });
                    break;
                }
            }
            try {
                let _0x1fec7d = _0x42d915['readlines']();
                _0x42d915['close'](), sleep(0x190), _0x42d915 = open(_0xefadd7, 'w', _0x58a736), _0x42d915['writelines'](_0x1fec7d), _0x42d915['close']();
            } catch (_0x1ff643) {
                console['error']('[message|L250]', _0x1ff643), _0x42d915['close']();
            }
            return _0x2331a3;
        };
    },
    0x8: function (_0x23bab9, _0x113e17) {
        _0x23bab9['exports'] = require('./touch.js');
    }
});